package edu.sandau.basic.service;

import edu.sandau.basic.domain.Role;
import edu.sandau.basic.vo.BasicMsg;
import java.util.List;

public interface RoleService {
    List<Role> listAll();
    Role getById(Integer id);
    BasicMsg addRole(Role role);
    BasicMsg updateRole(Integer id, Role role);
    BasicMsg patchRole(Integer id, Role role);
    BasicMsg deleteRole(Integer id);
    List<Role> listActive();
}
